package org.light.reflecttable.dao;

import java.sql.Connection;
import java.util.List;

import org.light.domain.Domain;
import org.light.reflecttable.domain.Table;

public interface TableDao{
	public List<Table> listAllTables(Connection connection) throws Exception;
	public List<Table> listAllPgTables(Connection connection) throws Exception;
	public List<Domain> fetchDataDomains(Connection connection, Domain d, String tableName ,int topn) throws Exception;
	public String findTableComment(Connection connection, String tableName, String dbName) throws Exception;
	public String findPgTableComment(Connection connection, String tableName, String dbName) throws Exception;
}
